﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Security;

namespace CanDichVu.FrameWork.Member
{
    public class UTAuthenticationService : IAuthenticationService
    {
        public void LogIn(string UserName, bool remember)
        {
            FormsAuthentication.SetAuthCookie(UserName, remember);
        }

        public void LogOut()
        {
            FormsAuthentication.SignOut();
        }
    }
}
